package com.wmx.thread;

public class RunableOne implements Runnable {
    private MyObject myObject;

    RunableOne(MyObject myObject){
        this.myObject = myObject;
    }
    @Override
    public void run() {
        System.out.println("Runable=======");
        synchronized (myObject){
            myObject.notifyAll();
        }
    }
}
